<!DOCTYPE html>
<!-- saved from url=(0025)http://hljhgs.51zxtx.com/ -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>盘羊户外运动服务</title>
        <link type="image/x-icon" href="http://cdn-oss.51zxtx.com//static/shouye/images/favicon1.ico?2.2.2" rel="shortcut icon">
        
        <meta property="qc:admins" content="344466435536512040637571645060454">
        <script type="text/javascript" charset="utf-8" src="./js/jquery.min.js"></script>
        <script type="text/javascript" charset="utf-8" src="./js/messageCountdown.js"></script>
        <script type="text/javascript" charset="utf-8" src="./js/json2.js"></script>
        <link rel="stylesheet" type="text/css" href="./css/index.css">
    <style>
        .userInfo a.account{
            display: block;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    </style></head>
    
    <body>
        <!--遮罩层开始-->
        <div id="dialogModal"></div>
        <!--遮罩层结束-->        
        <!--导航头部开始-->
        <div id="header">
            <div class="warpper">
                <img width="98" height="65" class="logo" src="./img/logo.jpg" alt="盘羊户外运动服务">
                <div class="search clearfix">
                    <span style="position:relative;vertical-align:middle;float:left;">
                        <input autocomplete="off" class="text inputSpecialText" type="text" id="searchName" name="searchName" value="">
                        <span class="placeholderTip" style="position:absolute;left:10px;top:5px;color: #a4a4a4;">搜索活动</span>
                    </span>
                    <div class="line"></div>
                    <input class="button" type="button" id="proSearchBtn">
                    <div class="cl"></div>
                </div>
                <div class="cl"></div>
            </div>
        </div>
        <!--导航头部结束-->	
        <div id="mainbav">
            <div class="warpper">
                <ul class="menu fl">
                    <li id="allActPlateList" class="cur" style="position:static;">
                        <a href="http://hljhgs.51zxtx.com/activity/lists">所有活动</a>
                        <div class="allActPlateDt">
                            <dl>
                                <dt><a href="http://hljhgs.51zxtx.com/activity/lists?acttype=284">单日户外</a></dt>
                                <dt><a href="http://hljhgs.51zxtx.com/activity/lists?acttype=285">国内长线</a></dt>
                                <dt><a href="http://hljhgs.51zxtx.com/activity/lists?acttype=288">境外旅游</a></dt>
                                <dt><a href="http://hljhgs.51zxtx.com/activity/lists?acttype=1139">团购专区</a></dt>
                                <dt><a href="http://hljhgs.51zxtx.com/activity/lists?acttype=287">中强度登山</a></dt>
                                <dt><a href="http://hljhgs.51zxtx.com/activity/lists?acttype=286">周周发车</a></dt>
                                <dt><a href="http://hljhgs.51zxtx.com/activity/lists?acttype=15688">温泉</a></dt>
                            </dl>
                        </div>
                    </li>
                    <li class="" style="width:120px;"><a href="http://hljhgs.51zxtx.com/index.html">首页</a></li>
                    <li class="" style="width:120px;"><a href="http://hljhgs.51zxtx.com/article">论坛</a></li>
                    <li class="" style="width:140px;"><a target="_blank" href="http://1007.zxtx.xinheins.com/insurance/main">保险频道</a></li>
                    <li class="" style="width:140px;"><a href="http://hljhgs.51zxtx.com/about">关于我们</a></li>
                </ul>
                
                <div class="userName  fr">
                    <div class="userInfo">
                                                <a onclick="javascript:$(&#39;#dialogModal&#39;).show();$(&#39;#loginPanel&#39;).show();">未登录，请点击登录</a>
                                                <div class="userList" style="line-height:normal;">
                            <ul>
                                <li class="my_order"><a href="http://hljhgs.51zxtx.com/info/order">我的订单</a></li>
                                <li class="my_act"><a href="http://hljhgs.51zxtx.com/info/act">我的报名活动</a></li>                                
                                <li class="my_infos"><a href="http://hljhgs.51zxtx.com/info/user">我的常用信息</a></li>
                                <li class="my_data"><a href="http://hljhgs.51zxtx.com/info/poto">我的资料</a></li>
                                <li class="my_comment"><a href="http://hljhgs.51zxtx.com/info/comment">我的活动评论</a></li>
                                <li class="my_points"><a style="background: url(/ui_static/web/images/point1.png) no-repeat 20px 20px;" href="http://hljhgs.51zxtx.com/info/point">我的积分</a></li>
                                <li class="layout"><a style="background: url(/ui_static/web/images/exit.png) no-repeat 20px 20px;" onclick="layoutFn(this)">退出</a></li>
                            </ul>
                        </div>
                    </div>                    
                </div>
                <div class="cl"></div>
            </div>
        </div>

        <div id="dialogShowError">
    <span></span>
</div>
<div id="main">    
    <link rel="stylesheet" type="text/css" href="./css/home.css">
    <div class="warpper homeBox">
        <div class="homeBoxTop clearfix">
            <div class="scrollWrap" style="z-index: 300;">
                <ul class="imgList" style="z-index: 300; left: -551.252px;">
                                                                                    
                        
                        <li data-id="222" class="">
                            <a href="http://hljhgs.51zxtx.com/#"><img alt="" style="width:100%;height:100%;" src="./images/lp2.jpg"></a>
                        </li><li data-id="111" class="">
                            <a href="http://hljhgs.51zxtx.com/#"><img alt="" style="width:100%;height:100%;" src="./images/lp1.jpg"></a>
                        </li><li data-id="222" class="">
                            <a href="http://hljhgs.51zxtx.com/#"><img alt="" style="width:100%;height:100%;" src="./images/lp2.jpg"></a>
                        </li></ul>
                <div class="tipModal" style="z-index:300;"> 
                </div>
                <div style="position: absolute;bottom: 0;left:0;height:80px; z-index:300;">
                    <div id="id-prev-img" class="fl" style="width:80px;height:80px;cursor:pointer; z-index:300;">
                        <img alt="" src="./images/left_arrow.png" width="22px;" height="34px;" style="margin-left:25px;margin-top:25px;opacity:0.5;">
                    </div>
                    <ul class="imgTipList fl" style="width:540px;height:80px;margin:0 auto; z-index:300;">
                                                                                                    <li>
                                <a class="cur_111" href="http://hljhgs.51zxtx.com/#"><img alt="" width="120px;" height="60px;" src="./images/lp1.jpg"></a>
                            </li>
                            <li>
                                <a class="cur_222 cur" href="http://hljhgs.51zxtx.com/#"><img alt="" width="120px;" height="60px;" src="./images/lp2.jpg"></a>
                            </li>
                                            </ul>
                    <div id="id-next-img" class="fr" style="width:80px;height: 80px;cursor:pointer; z-index:300;">
                        <img alt="" src="./images/right_arrow.png" width="22px;" height="34px;" style="margin-left:25px;margin-top:25px;opacity:0.5;">
                    </div>
                </div>
            </div>
            <div class="leaderList">
                <div class="listTitle">
                    <a href="http://hljhgs.51zxtx.com/leader">
                        <span style="line-height: 29px;margin-left: 10px;">领队</span>
                    </a>
                </div>
                <div class="listShow">
                    <ul>
                                                    <li>
                                <a style="color:#595959;" href="http://hljhgs.51zxtx.com/leader?id=285">
                                    <img class="portrait fl" style="width:48px;height:48px;" src="./img/of74s5lwuf5eb43po0l26s9k9lp9yrygde0r2hadcgmpdjkyb9">
                                    <div class="info fl">
                                        <p style="width:160px;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;cursor:pointer;">
                                            <span class="leadName">花果山户外管理员</span>
                                        </p>
                                        <p style="font-size:12px;">开始带队时间：<span></span></p>
                                    </div>
                                    <div class="cl"></div>
                                </a>
                            </li>
                                                    <li>
                                <a style="color:#595959;" href="http://hljhgs.51zxtx.com/leader?id=8017">
                                    <img class="portrait fl" style="width:48px;height:48px;" src="./img/0">
                                    <div class="info fl">
                                        <p style="width:160px;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;cursor:pointer;">
                                            <span class="leadName">笨笨猫</span>
                                        </p>
                                        <p style="font-size:12px;">开始带队时间：<span>2011-12-01</span></p>
                                    </div>
                                    <div class="cl"></div>
                                </a>
                            </li>
                                                    <li>
                                <a style="color:#595959;" href="http://hljhgs.51zxtx.com/leader?id=8018">
                                    <img class="portrait fl" style="width:48px;height:48px;" src="./img/0(1)">
                                    <div class="info fl">
                                        <p style="width:160px;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;cursor:pointer;">
                                            <span class="leadName">湘江北去</span>
                                        </p>
                                        <p style="font-size:12px;">开始带队时间：<span></span></p>
                                    </div>
                                    <div class="cl"></div>
                                </a>
                            </li>
                                                    <li>
                                <a style="color:#595959;" href="http://hljhgs.51zxtx.com/leader?id=8039">
                                    <img class="portrait fl" style="width:48px;height:48px;" src="./img/0(2)">
                                    <div class="info fl">
                                        <p style="width:160px;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;cursor:pointer;">
                                            <span class="leadName">闫喆（独钓一江秋）15124680731</span>
                                        </p>
                                        <p style="font-size:12px;">开始带队时间：<span>2009-12-01</span></p>
                                    </div>
                                    <div class="cl"></div>
                                </a>
                            </li>
                                                    <li>
                                <a style="color:#595959;" href="http://hljhgs.51zxtx.com/leader?id=8351">
                                    <img class="portrait fl" style="width:48px;height:48px;" src="./img/6.png">
                                    <div class="info fl">
                                        <p style="width:160px;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;cursor:pointer;">
                                            <span class="leadName">麻辣祥子</span>
                                        </p>
                                        <p style="font-size:12px;">开始带队时间：<span></span></p>
                                    </div>
                                    <div class="cl"></div>
                                </a>
                            </li>
                                            </ul>
                </div>
            </div>
        </div>
        <div class="homeBoxBottom">
            <div class="activity_list">
                <div class="activityTitle">
                    <ul>
                        <li>
                            <div style="text-align:center">
                                <a class="" href="http://hljhgs.51zxtx.com/index.html?acttype=284">单日户外</a>
                            </div>
                        </li>
                        <li>
                            <div style="text-align:center">
                                <a class="" href="http://hljhgs.51zxtx.com/index.html?acttype=285">国内长线</a>
                            </div>
                        </li>
                        <li>
                            <div style="text-align:center">
                                <a class="" href="http://hljhgs.51zxtx.com/index.html?acttype=288">境外旅游</a>
                            </div>
                        </li>
                        <li>
                            <div style="text-align:center">
                                <a class="" href="http://hljhgs.51zxtx.com/index.html?acttype=1139">团购专区</a>
                            </div>
                        </li>
                        <li>
                            <div style="text-align:center">
                                <a class="" href="http://hljhgs.51zxtx.com/index.html?acttype=287">中强度登山</a>
                            </div>
                        </li>
                        <li>
                            <div style="text-align:center">
                                <a class="" href="http://hljhgs.51zxtx.com/index.html?acttype=286">周周发车</a>
                            </div>
                        </li>
                        <li>
                            <div style="text-align:center">
                                <a class="" href="http://hljhgs.51zxtx.com/index.html?acttype=15688">温泉</a>
                            </div>
                        </li>
                    </ul>
                    <div class="cl"></div>
                </div>
                <div class="activityInfo">
                    <div id="renderHtml"><div class="infoShow"><a href="http://hljhgs.51zxtx.com/activity/det?aid=32683"><img alt="" class="actImg" src="./img/80fg1tqb7sl30lv1m36i5m"></a><div class="infoText"><a href="http://hljhgs.51zxtx.com/activity/det?aid=32683"><p class="actTitle">【已转】（清明假期）3月31-4月7日✪魅力湘西✪风土行全景8日品质之旅</p></a><div class="actDetail"><span class="actTime">活动时间：2018-03-31</span><a class="look_in" href="http://hljhgs.51zxtx.com/activity/det?aid=32683">去看看</a><div class="cl"></div></div><div class="act_type"><span>活动标签：摄影,徒步,户外休闲,</span></div><div class="actInfo"><span class="totitle">成人：</span><span class="total">2200元</span><span class="totitle" style="margin-left:10px;">儿童：</span><span class="total">2200元</span><span class="hit"><img style="display:inline;vertical-align:middle;" src="./images/eye.png"><span>7349</span></span><div class="cl"></div></div></div><div class="cl"></div></div><div class="infoShow"><a href="http://hljhgs.51zxtx.com/activity/det?aid=20733"><img alt="" class="actImg" src="./img/0952119001454393258_thumb.jpg"></a><div class="infoText"><a href="http://hljhgs.51zxtx.com/activity/det?aid=20733"><p class="actTitle">3月17-24日◈烟花三月下江南◈最美旅行日历◈游黄山三清山◈品徽杭◈赏婺源最美油菜花/樱花◈婺源/篁岭◈新安江山水画廊◈西塘/西湖◈深度品质游</p></a><div class="actDetail"><span class="actTime">活动时间：2018-03-17</span><a class="look_in" href="http://hljhgs.51zxtx.com/activity/det?aid=20733">去看看</a><div class="cl"></div></div><div class="act_type"><span>活动标签：户外休闲,</span></div><div class="actInfo"><span class="totitle">成人：</span><span class="total">2600元</span><span class="totitle" style="margin-left:10px;">儿童：</span><span class="total">2600元</span><span class="hit"><img style="display:inline;vertical-align:middle;" src="./images/eye.png"><span>4462</span></span><div class="cl"></div></div></div><div class="cl"></div></div><div class="infoShow"><a href="http://hljhgs.51zxtx.com/activity/det?aid=33736"><img alt="" class="actImg" src="./img/84o5cp7w39nwzhro0u4eam"></a><div class="infoText"><a href="http://hljhgs.51zxtx.com/activity/det?aid=33736"><p class="actTitle">已转、1月25日♦漠河一路向北极点之旅 ♦寻找欧若拉♦在极北的边境线上穿行与日月同辉♦精品小团【780元赠保险】</p></a><div class="actDetail"><span class="actTime">活动时间：2018-01-25</span><a class="look_in" href="http://hljhgs.51zxtx.com/activity/det?aid=33736">去看看</a><div class="cl"></div></div><div class="act_type"><span>活动标签：户外休闲,摄影,徒步,</span></div><div class="actInfo"><span class="totitle">成人：</span><span class="total">780元</span><span class="totitle" style="margin-left:10px;">儿童：</span><span class="total">780元</span><span class="hit"><img style="display:inline;vertical-align:middle;" src="./images/eye.png"><span>4177</span></span><div class="cl"></div></div></div><div class="cl"></div></div><div class="infoShow"><a href="http://hljhgs.51zxtx.com/activity/det?aid=34174"><img alt="" class="actImg" src="./img/oz7ksnwmn4hel3dra7cfn"></a><div class="infoText"><a href="http://hljhgs.51zxtx.com/activity/det?aid=34174"><p class="actTitle">3月24-4月1日 多彩贵州❂醉心黔东南❂极享魅力桃源❂最美季节的碰撞9日自由之旅 【3500赠送保险】</p></a><div class="actDetail"><span class="actTime">活动时间：2018-03-24</span><a class="look_in" href="http://hljhgs.51zxtx.com/activity/det?aid=34174">去看看</a><div class="cl"></div></div><div class="act_type"><span>活动标签：户外休闲,徒步,摄影,</span></div><div class="actInfo"><span class="totitle">成人：</span><span class="total">3500元</span><span class="totitle" style="margin-left:10px;">儿童：</span><span class="total">3500元</span><span class="hit"><img style="display:inline;vertical-align:middle;" src="./images/eye.png"><span>1162</span></span><div class="cl"></div></div></div><div class="cl"></div></div><div class="infoShow"><a href="http://hljhgs.51zxtx.com/activity/det?aid=34168"><img alt="" class="actImg" src="./img/dfsjmydlk3d2elpxayt2xc"></a><div class="infoText"><a href="http://hljhgs.51zxtx.com/activity/det?aid=34168"><p class="actTitle"> ✪1月28日 旺家寨观雾淞/冰瀑布/打雪圈/免费民族服饰摄影/小西泉眼观冬捕/买大鱼过大年/平山赶大集购年货【65元午餐+车费】</p></a><div class="actDetail"><span class="actTime">活动时间：2018-01-28</span><a class="look_in" href="http://hljhgs.51zxtx.com/activity/det?aid=34168">去看看</a><div class="cl"></div></div><div class="act_type"><span>活动标签：户外休闲,徒步,摄影,</span></div><div class="actInfo"><span class="totitle">成人：</span><span class="total">65元</span><span class="totitle" style="margin-left:10px;">儿童：</span><span class="total">65元</span><span class="hit"><img style="display:inline;vertical-align:middle;" src="./images/eye.png"><span>418</span></span><div class="cl"></div></div></div><div class="cl"></div></div></div>
                    <div class="cl"></div>
                </div>
                <div class="showMoreInfo" style="display: block;">
                    <a>点击查看更多...</a>
                </div>
            </div>
            <div class="hot_plate">
                <div class="sign-in" onclick="signIn()">
                    <img src="./images/sign-in.png" atl="">
                    <a>签到赚积分</a>
                </div>

                <div class="today-ranking" style="display: none;">
                    <div class="hot_plate_nav">
                         <span class="hot_plate_title fl">
                        今日签到排名
                         </span>
                        <a class="hot_forum_in fr" onclick="todayRankings()">
                            更多&gt;&gt;
                        </a>
                        <div class="cl"></div>
                    </div>

                    <div class="sign-info-box">


                    </div>
                </div>


                <div class="hot_plate_nav">
                    <span class="hot_plate_title fl">
                        热门帖子
                    </span>
                    <a class="hot_forum_in fr" href="http://hljhgs.51zxtx.com/article">
                        进入论坛
                    </a>
                    <div class="cl"></div>
                </div>

                <div class="hot_ranking">
                                                                        <div class="hot_ranking_floor " onclick="location.href = &#39;/article/det?id=4&#39;">
                                                                    <img alt="" src="./img/0974929001395358433.jpg" width="240px">
                                                                <span class="hot_ranking_t">
                                    <span class="hot_num">NO</span>
                                    <span class="hot_num_lar">.1</span>
                                    花果山户外微信公共平台收听及报名指南                                </span>
                            </div>
                                                    <div class="hot_ranking_floor " onclick="location.href = &#39;/article/det?id=313&#39;">
                                                                <span class="hot_ranking_t">
                                    <span class="hot_num">NO</span>
                                    <span class="hot_num_lar">.2</span>
                                    【花果山户外旅行知识】旅行清单不费脑子只需打钩从此出门高效了                                </span>
                            </div>
                                                    <div class="hot_ranking_floor " onclick="location.href = &#39;/article/det?id=701&#39;">
                                                                <span class="hot_ranking_t">
                                    <span class="hot_num">NO</span>
                                    <span class="hot_num_lar">.3</span>
                                    笨笨猫领队户外履历                                </span>
                            </div>
                                                    <div class="hot_ranking_floor " onclick="location.href = &#39;/article/det?id=702&#39;">
                                                                <span class="hot_ranking_t">
                                    <span class="hot_num">NO</span>
                                    <span class="hot_num_lar">.4</span>
                                    独钓一江秋领队户外履历                                </span>
                            </div>
                                                    <div class="hot_ranking_floor nodashed" onclick="location.href = &#39;/article/det?id=3097&#39;">
                                                                <span class="hot_ranking_t">
                                    <span class="hot_num">NO</span>
                                    <span class="hot_num_lar">.5</span>
                                    001                                </span>
                            </div>
                                                            </div>
                <div class="menu_table">
                    <table>
                        <tbody><tr>
                            <td><div class="blue_a"><a href="http://hljhgs.51zxtx.com/article">进入论坛</a></div></td> 
                            <td><div class="cyan_a"><a target="_blank" href="http://hljhgs.51zxtx.com/insurance/main">购买保险</a></div></td>
                        </tr>
                        <tr>
                            <td><div class="green_a"><a href="http://hljhgs.51zxtx.com/activity/lists">所有活动</a></div></td>
                            <td><div class="grey_a"><a href="http://hljhgs.51zxtx.com/about">关于我们</a></div></td>
                        </tr>
                    </tbody></table>
                </div>
            </div>
            <div class="cl"></div>
        </div>
    </div>
    <script src="./js/photoScroll.js" charset="utf-8" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
        var page = 1, url = '';
        function getActInfoFn(opt) {
            if (opt == 'new') {
                url = '/activity/lists?ajax=1&page=1&limit=5';
            } else {                
                url = '/activity/lists?ajax=1&page=' + page + '&limit=5';
            }
            url += '&acttype='
            $.ajax({
                type: "GET",
                url: url,
                dataType: "json",
                cache: false,
                contentType: "application/json",
                success: function (data) {
                    if (data.success) {
                        renderActHtmlFn(data.rows, opt);
                        if (data.total > (page*5)) {
                            $('.showMoreInfo').show();
                        } else {
                            $('.showMoreInfo').hide();
                        }
                    }
                }
            });
        }
        function delHtmlTag(str) {
            return str.replace(/<[^>]+>/g, "");//去掉所有的html标记
        }
        function renderActHtmlFn(rs, opt) {
            var html = '';            
            for (var i = 0; i < rs.length; i++) {
                var href = '/activity/det?aid=' + rs[i].activity_id;
                var Total = rs[i].fee_default == "" ? "待定" : rs[i].fee_default+"元";                
                html += '<div class="infoShow">';
                html += '<a href="' + href + '"><img alt="" class="actImg" src="http://cdn-oss.51zxtx.com/' + rs[i].big_pic + '" /></a>';
                html += '<div class="infoText">';
                html += '<a href="' + href + '"><p class="actTitle">' + rs[i].name + '</p></a>';
                html += '<div class="actDetail">';                
                html += '<span class="actTime">活动时间：' + rs[i].start_time + '</span>';				
                html += '<a class="look_in" href="' + href + '">去看看</a>';
                html += '<div class="cl"></div>';
                html += '</div>';
                html+='<div class="act_type"><span>活动标签：' + rs[i].tags + '</span></div>';
                html += '<div class="actInfo">';
                if(rs[i].fee_child_default && rs[i].fee_child_default>0){
                    html += '<span class="totitle">成人：</span><span class="total">' + Total + '</span>';
                    html += '<span class="totitle" style="margin-left:10px;">儿童：</span><span class="total">' + rs[i].fee_child_default + '元</span>';   
                }else{
                    html += '<span class="totitle">成人：</span><span class="total">' + Total + '</span>';
                }
                html += '<span class="hit"><img style="display:inline;vertical-align:middle;" src="http://cdn-oss.51zxtx.com//ui_static/web/images/eye.png"><span>' + rs[i].hits + '</span></span>';
                html += '<div class="cl"></div>';
                html += '</div>';
                html += '</div>';
                html += '<div class="cl"></div>';
                html += '</div>';
            }
            if (opt == 'new') {
                $('#renderHtml').html(html);
            } else {
                $('#renderHtml').append(html);
            }
        }
        $('.showMoreInfo a').on('click', function () {
            page = page + 1;
            getActInfoFn('more');
        });
        getActInfoFn('new');


        
        $('.scrollWrap').css('z-index','300');
        $('.imgList').css('z-index','300');
        $('.allActPlateList').css('z-index','999');

        //记录签到状态
        var is_login = '';
        var is_sign = '';

        if(is_login){
            if(is_sign){
                $('.today-ranking').show();
                $('.hot_plate .sign-in').hide();
            }else{
                $('.hot_plate .sign-in').show();
                $(' .today-ranking').hide();
            }
        }

        showTopSign();



    });
    </script>

    <script>

        //显示错误
        function dialogShowError() {
            $('#dialogShowError').show();
            setTimeout(function () {
                $('#dialogShowError').animate({top: '50%'}, 'slow', function () {
                    $('#dialogShowError').hide();
                    $('#dialogShowError').css('top', '45%');
                });
            }, 500);
        }
        //今日签到排名
        function signIn() {
            var is_login = '';
            if (is_login) {//判断是否登录
                $.ajax({
                    type: "GET",
                    url: '/sign/sign_in',
                    dataType: "json",
                    cache: false,
                    contentType: "application/json",
                    success: function (data) {
                        if (data.success) {
                            var point = data.point;
                            if (point) $('#dialogShowError span').html(data.msg + '+' + point);
                            dialogShowError();
                            setTimeout(function () {
                                if(window.location.href.indexOf('#hdpl')>-1){
                                    window.location.reload();
                                }else{
                                    location.href = window.location.href+'#hdpl';
                                    window.location.reload();
                                }
                            }, 1000);

                            $('.hot_plate .sign-in').hide();
                            $('.hot_plate .today-ranking').show();

                        } else {
                            alert(data.msg);
                        }
                    }
                });
            } else {
                $('#dialogModal').show();
                $('#loginPanel').show();
            }

        }

        //今日签到排名
        function todayRankings() {
            var link_url = "/sign";
            location.href = link_url;
            
        }


        //显示前5名
        function showTopSign() {
            var sign_list_json = '[]';
            var list = JSON.parse(sign_list_json);
            var str = '';

            for (var i = 0; i < list.length; i++) {
                str = '<div class="signUserInfo"> ';
                str += '<div class="fl">';
                if(i<9){
                    str += ' <span class="rankNum fl">'+(i+1)+'</span>';
                }else{
                    str += ' <span class="rankNum fl" style="padding: 2px 4px">'+(i+1)+'</span>';
                }

                if (list[i]['user_photo'].substr(0,4)=="http") {
                    str += '<img class="signUserHead fl" src="' +list[i]['user_photo'] + '"/>';
                }else {
                    str+='<img  class="signUserHead fl" src="http://cdn-oss.51zxtx.com/'+list[i]['user_photo']+'">';
                }

                str += '<span class="signUserName fl">'+list[i]['nick_name']+'</span>';
                str += '<div class="cl"></div></div>';
                str += '<div class="fr signScore">'+list[i]['create_time'].slice(11,19)+'</div>';
                str += '<div class="cl"></div></div>';
                $('.today-ranking .sign-info-box').append(str);
            }


        }
    </script>
</div>


        <!--版权所有开始-->
        <div id="footer" style="position: static; z-index: 5;">
            <div class="copyright">
                <div class="warpper">
                    <p>©2011-2018&nbsp;北京盘羊户外运动服务有限公司 版权所有  |  京ICP备13039894号-1
                    </p>
                </div>
            </div>
        </div>
        <!--版权所有结束-->
        
        <div id="dialogShowError">
            <span>评论成功</span>
        </div>
        <!--登录框开始-->
        <div id="loginPanel" class="dialogBox" style="width:395px;height:474px;left:50%;top:50%;margin-left: -198px;margin-top: -195px;">
            <div class="dialogTitle">
                <div class="closeImg fr" style="margin-top: 5px;margin-right: 0px;">
                    <a class="close" onclick="javascript:history.go(0);"><img style="width: 22px;height: 22px;" src="./images/close.jpg"></a>
                </div>
                <div class="cl"></div>
            </div>

            <div class="dialogContent">
                <div class="longinCenter">
                    <div class="phoneTitle"><span class="splitLine fl">—————</span>手机号登录<span class="splitLine fr">—————</span><div class="cl"></div></div>
                    <p class="clearfix">
                        <span style="position:relative;vertical-align:middle;float:left;">
                            <input type="text" id="UserTel" name="UserTel" autocomplete="off" class="input inputSpecialText" style="width:335px;padding:0 10px;color:#000000;">
                            <span class="placeholderTip" style="position:absolute;left:10px;top:12px;color: #B3B2B2;">手机号</span>
                        </span>
                    </p><div class="fillTips" style="visibility: hidden"><img class="fl" style="margin-top: 3px;;margin-right: 7px;" src="./images/1.png"><span>该手机号将作为网站登录账号</span></div>
                    <div class="cl"></div>
                    <p></p>
                    <p class="clearfix">
                        <span style="position:relative;vertical-align:middle;float:left;">
                            <input type="password" id="UserPass" name="UserPass" autocomplete="off" class="input inputSpecialText" style="width:207px;padding:0 10px;color:#000000;border-top-right-radius: 0;border-bottom-right-radius: 0">
                            <span class="placeholderTip" style="position:absolute;left:10px;top:12px;color: #B3B2B2;">密码或手机动态密码</span>
                        </span>
                        <input type="button" id="get_password" class="fr button inputSpecialText" value="获取动态密码" style="width:126px;" onclick="sendPassFn(this)">
                    </p>
                    <div class="fillTips" style="visibility: hidden"><img class="fl" style="margin-top: 3px;;margin-right: 7px;" src="./images/1.png"><span>请输入6位短信验证码</span></div>
                    <div class="cl"></div>

                </div>
                <div class="loginBottom">
                    <input type="button" class="button loginbtn" value="登录" onclick="loginInFn(this)">
                </div>
                <div class="loginHelp">
                    <p class="clearfix txtl fl">
                        <a class="linkA" href="http://hljhgs.51zxtx.com/main/forgetpassset">忘记密码？</a>
                    </p>
                    <p class="clearfix txtr fr">
                        还没有账号？<a class="linkA" href="http://hljhgs.51zxtx.com/main/register">点击注册&gt;&gt;</a>
                    </p>
                    <div class="cl"></div>
                </div>

                <div class="third-login" style="padding:0 20px">
                    <div class="thirdLoginTitle"><span class="splitLine fl">—————</span>第三方登录<span class="splitLine fr">—————</span><div class="cl"></div></div>
                    <ul>
                        <li style="cursor: pointer"><img class="wxLogin imgsize" src="./images/wx.png" onclick="login(&#39;wx&#39;);"></li>
                        <li style="cursor: pointer"><img class="qqLogin imgsize" src="./images/QQ.png" onclick="login(&#39;qq&#39;);"></li>
                        <li style="cursor: pointer"><img class="wbLogin imgsize" src="./images/wb.png" onclick="login(&#39;weibo&#39;);"></li>
                    </ul>
                </div>
                <div class="cl"></div>
            </div>
        </div>
        <!--登录框结束-->
        <!--飞回顶部开始-->
            <div class="gotopbtn" style="display:none">
                <a data-cs-p="wx2" style="top: -355px;" href="javascript:void(0);" hidefocus="true" title="飞回顶部" rel="nofollow"></a>
            </div>
        <div id="Extender">
            <script type="text/javascript">                
//                if($('#UserPass').val()){
//                	$('#UserPass').siblings('.placeholderTip').addClass('hide');
//                    $('#loginPanel .showMessageTipBox').removeClass('errorState');
//                }

                //个人菜单功能
                $('#mainbav .islogin').on('mouseover', function () {
                    $(this).find('i').css('background-position', '-10px -733px');
                    $('#mainbav .userList').show();
                });
                $('#mainbav .islogin').on('mouseout', function () {
                    $(this).find('i').css('background-position', '-25px -732px');
                    $('#mainbav .userList').hide();
                });
                
                $('#allActPlateList').on('mouseover', function () {
                    $('.allActPlateDt').show();
                });
                $('#allActPlateList').on('mouseout', function () {
                    $('.allActPlateDt').hide();
                });
                $('.allActPlateList').on('mouseover', function () {
                    $('.allActPlateDt').show();
                });
                $('.allActPlateList').on('mouseout', function () {
                    $('.allActPlateDt').hide();
                });
                
                //input提示值
                $(".placeholderTip").click(function () {
                    var it = $(this).siblings('.inputSpecialText');
                    if (it.val() == "") {
                        $(this).addClass('hide');
                        it.focus();
                    }
                });
                $('.inputSpecialText').on('focus', function () {
                    $(this).siblings('.placeholderTip').addClass('hide');
                });
                $('.inputSpecialText').on('blur', function () {
                    if (!$(this).val()) {
                        $(this).siblings('.placeholderTip').removeClass('hide');
                    }
                });

                //验证提示
                function showMessageTipFn(obj, isShow, isError, msg) {
                    $(obj).find('.showMessageTipBox span').html('');
                    if (isShow) {
                        $(obj).find('.showMessageTipBox').show();
                        if (isError) {
                            $(obj).find('.showMessageTipBox').addClass('errorState');
                            $(obj).find('.showMessageTipBox').removeClass('successState');
                        } else {
                            $(obj).find('.showMessageTipBox').addClass('successState');
                            $(obj).find('.showMessageTipBox').removeClass('errorState');
                        }
                        $(obj).find('.showMessageTipBox span').html(msg);
                    } else {
                        $(obj).find('.showMessageTipBox').hide();
                        $(obj).find('.showMessageTipBox').removeClass('successState');
                        $(obj).find('.showMessageTipBox').removeClass('errorState');
                    }
                }

                //退出登录
                function layoutFn() {
                    location.href = '/main/userloyout';
                }

                //发送密码
                function sendPassFn() {
                    var UserTelVal = $.trim($("#UserTel").val()), reData = {"mobile": UserTelVal};
                    if (!UserTelVal || UserTelVal == $("#UserTel").attr("_placeholder")) {
                        $('#UserTel').parent().parent().next().css('visibility','visible');
                        $('#UserTel').parent().parent().next().find('img').attr('src','http://cdn-oss.51zxtx.com//ui_static/web/images/6.png');
                        $('#UserTel').parent().parent().next().find('span').text('请输入手机号码').addClass('state1');
//                        showMessageTipFn('#loginPanel', 'show', 'error', '请输入手机号码');
                        return false;
                    }
                    if (UserTelVal) {
                        var length = UserTelVal.length, mobile = /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1})|(17[0-9]{1}))+\d{8})$/;
                        if (length != 11 || !mobile.test(UserTelVal)) {
                            $('#UserTel').parent().parent().next().css('visibility','visible');
                            $('#UserTel').parent().parent().next().find('img').attr('src','http://cdn-oss.51zxtx.com//ui_static/web/images/6.png');
                            $('#UserTel').parent().parent().next().find('span').text('请输入正确的手机号码').addClass('state1');
//                            showMessageTipFn('#loginPanel', 'show', 'error', '请输入正确的手机号码');
                            return false;
                        }else{
                            $('#UserTel').parent().parent().next().css('visibility','hidden');
                        }
                    }
                    $(arguments[0]).addClass("btn-disable");
                    $(arguments[0]).attr('disabled', 'disabled');
                    $.ajax({
                        type: "POST",
                        url: "/login/mobilesms",
                        dataType: "json",
                        contentType: "application/json",
                        data: JSON.stringify(reData),
                        success: function (data) {

                        }
                    });
                    new sendSetTime($("#get_password"));
                }

                //回车登录
                $("#loginPanel input").each(function () {
                    $(this).bind("keyup", function (e) {
                        if (e.keyCode == 13) {
                            loginInFn();
                        }
                    });
                });

                //input失去焦点校验
                $('#UserTel').on('blur',function () {
                    var UserTelVal = $.trim($("#UserTel").val());
                    if (!UserTelVal || UserTelVal == $("#UserTel").attr("_placeholder")) {
                        $('#UserTel').parent().parent().next().css('visibility','visible');
                        $('#UserTel').parent().parent().next().find('img').attr('src','http://cdn-oss.51zxtx.com//ui_static/web/images/6.png');
                        $('#UserTel').parent().parent().next().find('span').text('请输入手机号码').addClass('state1');
                        return false;
                    }
                    if (UserTelVal) {
                        var length = UserTelVal.length, mobile = /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1})|(17[0-9]{1}))+\d{8})$/;
                        if (length != 11 || !mobile.test(UserTelVal)) {
                            $('#UserTel').parent().parent().next().css('visibility','visible');
                            $('#UserTel').parent().parent().next().find('img').attr('src','http://cdn-oss.51zxtx.com//ui_static/web/images/6.png');
                            $('#UserTel').parent().parent().next().find('span').text('请输入正确的手机号码').addClass('state1');
                            return false;
                        }else{
                            $('#UserTel').parent().parent().next().css('visibility','hidden');
                        }
                    }
                });
                $('#UserPass').on('blur',function () {
                    var UserPassVal = $.trim($("#UserPass").val());
                    if (!UserPassVal || $("#UserPass").val() == $("#UserPass").attr("_placeholder")) {
                        $('#UserPass').parent().parent().next().css('visibility','visible');
                        $('#UserPass').parent().parent().next().find('img').attr('src','http://cdn-oss.51zxtx.com//ui_static/web/images/6.png');
                        $('#UserPass').parent().parent().next().find('span').text('请输入动态密码').addClass('state1');
                        return false;
                    }
                });



                //登录
                function loginInFn() {
                    var cur_this = $(arguments);
                    var UserTelVal = $.trim($("#UserTel").val()),
                            UserPassVal = $.trim($("#UserPass").val()),
                            reData = {"mobile": UserTelVal, "password": UserPassVal};      //PC用opnid则会更新手机用户openid                            
                    if (!UserTelVal || UserTelVal == $("#UserTel").attr("_placeholder")) {
                        $('#UserTel').parent().parent().next().css('visibility','visible');
                        $('#UserTel').parent().parent().next().find('img').attr('src','http://cdn-oss.51zxtx.com//ui_static/web/images/6.png');
                        $('#UserTel').parent().parent().next().find('span').text('请输入手机号码').addClass('state1');
//                        showMessageTipFn('#loginPanel', 'show', 'error', '请输入手机号码');
                        return false;
                    }
                    if (UserTelVal) {
                        var length = UserTelVal.length, mobile = /^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1})|(17[0-9]{1}))+\d{8})$/;
                        if (length != 11 || !mobile.test(UserTelVal)) {
                            $('#UserTel').parent().parent().next().css('visibility','visible');
                            $('#UserTel').parent().parent().next().find('img').attr('src','http://cdn-oss.51zxtx.com//ui_static/web/images/6.png');
                            $('#UserTel').parent().parent().next().find('span').text('请输入正确的手机号码').addClass('state1');
//                            showMessageTipFn('#loginPanel', 'show', 'error', '请输入正确的手机号码');
                            return false;
                        }else{
                            $('#UserTel').parent().parent().next().css('visibility','hidden');
                        }
                    }
                    if (!UserPassVal || $("#UserPass").val() == $("#UserPass").attr("_placeholder")) {
                        $('#UserPass').parent().parent().next().css('visibility','visible');
                        $('#UserPass').parent().parent().next().find('img').attr('src','http://cdn-oss.51zxtx.com//ui_static/web/images/6.png');
                        $('#UserPass').parent().parent().next().find('span').text('请输入动态密码').addClass('state1');
//                        showMessageTipFn('#loginPanel', 'show', 'error', '请输入动态密码');
                        return false;
                    }
                    $.ajax({
                        type: "POST",
                        url: "/login/signIn",
                        dataType: "json",
                        async: false,
                        contentType: "application/json",
                        data: JSON.stringify(reData),
                        success: function (data) {
                            if (data.success) {
                                $('#loginPanel .close').trigger('click');
                                if (data.redirect_url) {
                                    location.href = data.redirect_url += '?origin_url=' + encodeURIComponent(location.href);
                                } else if(cur_this.attr("data-linkurl")){
                                	location.href = cur_this.attr("data-linkurl");
                                	cur_this.attr("data-linkurl","");
                                }else {
                                    window.location.reload();
                                }
                            } else {
                                $('#UserPass').parent().parent().next().css('visibility','visible');
                                $('#UserPass').parent().parent().next().find('img').attr('src','http://cdn-oss.51zxtx.com//ui_static/web/images/6.png');
                                $('#UserPass').parent().parent().next().find('span').text(data.msg).addClass('state1');
//                                showMessageTipFn('#loginPanel', 'show', 'error', data.msg);
                            }
                        }
                    });
                }
                
                //飞回顶部
                function backToTopFun() {
                    var st = $(document).scrollTop(), winh = $(window).height();
                    (st > 0)? $(".gotopbtn").css('display','block'): $(".gotopbtn").css("display","none");
                }
                 $(window).bind("scroll", backToTopFun);
                $(".gotopbtn a").on('click',function(){
                    scroll(0,0);
                });
                $(".gotopbtn a").on('mouseover',function(){
                    $(".gotopbtn a").css("background-position",'right top');
                });
                $(".gotopbtn a").on("mouseleave",function(){
                    $(".gotopbtn a").css("background-position",'left top');
                });
                
                //查找活动/领队
                $('#proSearchBtn').on('click', function () {
                    var actName = $("#searchName").val(), actName = $.trim(actName);
                    var url = "/activity/lists?condtype=Name&q=" + encodeURIComponent(actName);
                    location.href = url;
                });

                $(document).ready(function(){
                    var bodyH = $("body").height();
                    var H = $(window).height();
                    if(bodyH <= H){
                        $("#footer").css("position", "fixed");
                        $("#footer").css("bottom", "0");
                        $("#footer").css("z-index", "9999");
                        $("#footer").css('width', '100%');
                    }
                    else {
                        $("#footer").css({"position":"static","z-index":"5"});
                    }
                });
            </script>
        </div>
        <script type="text/javascript">
            function login(type) {
                window.opener = null;
                window.open('/login/oauth/' + type + '/' + encodeURIComponent(location.href));
            }
        </script>
    
</body></html>